package com.xinyue.game.client.common;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author 王广帅
 * @date 2021年01月28日 12:04 上午
 */
@Configuration
@ConfigurationProperties(prefix = "xinyue.game.client.config")
public class GameClientConfig {
    private boolean openAutoConnect = false;

    public boolean isOpenAutoConnect() {
        return openAutoConnect;
    }

    public void setOpenAutoConnect(boolean openAutoConnect) {
        this.openAutoConnect = openAutoConnect;
    }
}
